home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / comm / thor / SafeEdit.readme < prev    next >
Text File  |  1999-05-02  |  3KB  |  93 lines

  1. Short:    Prevents posting unedited messages with THOR
  2. Author:   Neil Bothwick <neil@wirenet.co.uk>
  3. Uploader: Neil Bothwick <neil@wirenet.co.uk>
  4. Version:  1.5
  5. Type:     comm/thor
  6.  
  7. THOR's asynchronous message editing is extremely useful, but there is
  8. a disadvantage. If you Send Events while a message is being edited,
  9. the unedited version is sent and the file you save is lost.
  10.  
  11. SafeEdit.thor is the solution. It freezes the event before starting the
  12. editor and activates it when you exit the editor, while still
  13. retaining all the advantages of asynchronous editing.
  14.  
  15. With version 1.1 you also get a warning if you leave the editor
  16. without saving. You have the choice of re-editing the message,
  17. leaving it or deleting the event. This removes the need for scripts
  18. like CancelEvent.ged.
  19.  
  20.  
  21. Installation
  22. ============
  23.  
  24. Copy SafeEdit.thor to {THORPath}/rexx
  25. Go into Global Config/Message options and set the external editor to
  26. Run >NIL: rexx/SafeEdit.thor
  27. Open a shell, CD to the THOR directory and type the following lines:
  28.  
  29. protect rexx/SafeEdit.thor +s
  30. setenv THO0R/Editor [editor command]
  31. copy ENV:THOR/Editor ENVARC:THOR
  32.  
  33. where [editor command] is the command used to start your editor in
  34. "sticky" mode. For the GoldED quickstarter use "C:Ed STICKY".
  35.  
  36. The file to be edited will be added to the end of this line. If you
  37. have an editor than doesn't accept the file in this position, mail me
  38. with the syntax needed and I'll revise the script where necessary.
  39.  
  40.  
  41. Warranty
  42. ========
  43.  
  44. This script works for me. I guarantee that it will work for you
  45. whenever it works, but at no other time.
  46.  
  47.  
  48. Problems?
  49. =========
  50.  
  51. If SafeEdit.thor doesn't freeze the event when editing, make sure your
  52. editor command includes whatever option is needed to make the editor
  53. sticky. You can test this my typing the command in a shell, if the
  54. shell prompt doesn't return until you quit the editor the command
  55. should work. Should you still have problems, mail me with exact
  56. details.
  57.  
  58.  
  59. History
  60. =======
  61.  
  62. 1.0  First release - it worked
  63.  
  64. 1.1  Added warning if you exit the editor without saving.
  65.  
  66. 1.2  Added ADDUSER switch to add the recipient of the current mail to the
  67.      User Database. this has proved less than useful if you use THOR to read
  68.      and reply to mailing list messages :(
  69.  
  70. 1.3 The script was assuming rexxdossupport.library was already
  71.     available, thnks to Gian Maria Calzolari for pointing this out
  72.  
  73. 1.4 SafeEdit would fail when run from a System with a space in the name - fixed
  74.  
  75. 1.5    I forgot to load rexxsupport.library :(
  76.     I hope this and rexxdossupport.library will be automatic in OS3.5
  77.  
  78.  
  79. To Do
  80. =====
  81.  
  82. Add option to strip a signature from a message before replying.
  83.  
  84.  
  85. ============================= Archive contents =============================
  86.  
  87. Original  Packed Ratio    Date     Time    Name
  88. -------- ------- ----- --------- --------  -------------
  89.     2650    1304 50.7% 24-Apr-99 12:12:38  SafeEdit.readme
  90.     3239    1542 52.3% 24-Apr-99 12:12:00  SafeEdit.thor
  91. -------- ------- ----- --------- --------
  92.     5889    2846 51.6% 25-Apr-99 22:03:54   2 files
  93.